package com.huadao.cart_ccs.experiment.confirmBeforeCulture.orderList;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.huadao.cart_ccs.R;
import com.huadao.cart_ccs.base.BaseFragment;
import com.huadao.cart_ccs.base.BasePresenter;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import butterknife.Unbinder;

public class OrderListFrag extends BaseFragment {
    @BindView(R.id.tv_UniqueIdentificationCode)
    TextView tvUniqueIdentificationCode;
    @BindView(R.id.tv_projectName)
    TextView tvProjectName;
    @BindView(R.id.tv_produceOperateMan)
    TextView tvProduceOperateMan;
    @BindView(R.id.tv_produceLeader)
    TextView tvProduceLeader;
    @BindView(R.id.tv_internalControlMan)
    TextView tvInternalControlMan;
    @BindView(R.id.tv_cellTechManager)
    TextView tvCellTechManager;
    @BindView(R.id.tv_distributeMan)
    TextView tvDistributeMan;
    @BindView(R.id.tv_distributeDate)
    TextView tvDistributeDate;

    public interface ConfirmOrderList{
        void onConfirmOrderList();
    }
    private ConfirmOrderList confirmOrderList;

    @Override
    public int getContentViewId() {
        return R.layout.frag_order_list;
    }

    @Override
    protected void initAllMembersView(Bundle savedInstanceState) {

    }

    @Override
    protected BasePresenter getPresenter() {
        return null;
    }

    public void setConfirmOrderList(ConfirmOrderList confirmOrderList) {
        this.confirmOrderList = confirmOrderList;
    }

    @OnClick(R.id.btn_confirm)
    public void onViewClicked() {
        if(confirmOrderList!=null){
            confirmOrderList.onConfirmOrderList();
        }
    }
}
